package com.jy.api.signUpReq.admin;

import com.jy.api.enums.DistributeType;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by lihu on 2018/1/10.
 */
@Data
public class DistributeCouponSignUpReq {

    @NotNull(message = "参数错误！")
    private String storeId;

    @NotNull(message = "派发失败！请选择优惠卷信息！")
    private String couponId;

    //优惠卷派发类型 single 单个 sleep休眠 all 全部
    @NotNull(message = "派发失败！请选择优惠卷派发类型！")
    private DistributeType distributeType;

    private List<String> memeberIds;

    private int qty;
}
